import { combineReducers } from "redux";
import userReducer from "./userReducer";
import { persistReducer } from "redux-persist";
import storage from "redux-persist/lib/storage";

export const rootReducer = combineReducers({
  userReducer: persistReducer({ key: "userReducer", storage }, userReducer),
});
